const KEY = 'L-TodoList'
export default {
    get(){
        return JSON.parse(localStorage.getItem(KEY) || '[]')
    },
    save(todos){
        localStorage.setItem(KEY, JSON.stringify(todos))
    }
}